\(\int (c+d x)^2 (b \tanh (e+f x))^{3/2} \, dx\) [21]

   Optimal result
   Rubi [N/A]
   Mathematica [N/A]
   Maple [N/A] (verified)
   Fricas [F(-2)]
   Sympy [N/A]
   Maxima [N/A]
   Giac [N/A]
   Mupad [N/A]

Optimal result

Integrand size = 20, antiderivative size = 20 \[ \int (c+d x)^2 (b \tanh (e+f x))^{3/2} \, dx=\frac {4 (-b)^{3/2} d (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}{f^2}+\frac {2 (-b)^{3/2} d^2 \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )^2}{f^3}+\frac {4 b^{3/2} d (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right )}{f^2}+\frac {2 b^{3/2} d^2 \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right )^2}{f^3}-\frac {4 b^{3/2} d^2 \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right ) \log \left (\frac {2 \sqrt {b}}{\sqrt {b}-\sqrt {b \tanh (e+f x)}}\right )}{f^3}+\frac {4 b^{3/2} d^2 \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right ) \log \left (\frac {2 \sqrt {b}}{\sqrt {b}+\sqrt {b \tanh (e+f x)}}\right )}{f^3}-\frac {2 b^{3/2} d^2 \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right ) \log \left (\frac {2 \sqrt {b} \left (\sqrt {-b}-\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}-\sqrt {b}\right ) \left (\sqrt {b}+\sqrt {b \tanh (e+f x)}\right )}\right )}{f^3}-\frac {2 b^{3/2} d^2 \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right ) \log \left (\frac {2 \sqrt {b} \left (\sqrt {-b}+\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}+\sqrt {b}\right ) \left (\sqrt {b}+\sqrt {b \tanh (e+f x)}\right )}\right )}{f^3}-\frac {4 (-b)^{3/2} d^2 \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right ) \log \left (\frac {2}{1-\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}}\right )}{f^3}+\frac {2 (-b)^{3/2} d^2 \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right ) \log \left (\frac {2 \left (\sqrt {b}-\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}+\sqrt {b}\right ) \left (1-\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}\right )}{f^3}+\frac {2 (-b)^{3/2} d^2 \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right ) \log \left (-\frac {2 \left (\sqrt {b}+\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}-\sqrt {b}\right ) \left (1-\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}\right )}{f^3}+\frac {4 (-b)^{3/2} d^2 \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right ) \log \left (\frac {2}{1+\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}}\right )}{f^3}-\frac {2 b^{3/2} d^2 \operatorname {PolyLog}\left (2,1-\frac {2 \sqrt {b}}{\sqrt {b}-\sqrt {b \tanh (e+f x)}}\right )}{f^3}-\frac {2 b^{3/2} d^2 \operatorname {PolyLog}\left (2,1-\frac {2 \sqrt {b}}{\sqrt {b}+\sqrt {b \tanh (e+f x)}}\right )}{f^3}+\frac {b^{3/2} d^2 \operatorname {PolyLog}\left (2,1-\frac {2 \sqrt {b} \left (\sqrt {-b}-\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}-\sqrt {b}\right ) \left (\sqrt {b}+\sqrt {b \tanh (e+f x)}\right )}\right )}{f^3}+\frac {b^{3/2} d^2 \operatorname {PolyLog}\left (2,1-\frac {2 \sqrt {b} \left (\sqrt {-b}+\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}+\sqrt {b}\right ) \left (\sqrt {b}+\sqrt {b \tanh (e+f x)}\right )}\right )}{f^3}-\frac {2 (-b)^{3/2} d^2 \operatorname {PolyLog}\left (2,1-\frac {2}{1-\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}}\right )}{f^3}+\frac {(-b)^{3/2} d^2 \operatorname {PolyLog}\left (2,1-\frac {2 \left (\sqrt {b}-\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}+\sqrt {b}\right ) \left (1-\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}\right )}{f^3}+\frac {(-b)^{3/2} d^2 \operatorname {PolyLog}\left (2,1+\frac {2 \left (\sqrt {b}+\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}-\sqrt {b}\right ) \left (1-\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}\right )}{f^3}-\frac {2 (-b)^{3/2} d^2 \operatorname {PolyLog}\left (2,1-\frac {2}{1+\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}}\right )}{f^3}-\frac {2 b (c+d x)^2 \sqrt {b \tanh (e+f x)}}{f}+b^2 \text {Int}\left (\frac {(c+d x)^2}{\sqrt {b \tanh (e+f x)}},x\right ) \]

[Out]

4*(-b)^(3/2)*d*(d*x+c)*arctanh((b*tanh(f*x+e))^(1/2)/(-b)^(1/2))/f^2+2*(-b)^(3/2)*d^2*arctanh((b*tanh(f*x+e))^
(1/2)/(-b)^(1/2))^2/f^3+4*b^(3/2)*d*(d*x+c)*arctanh((b*tanh(f*x+e))^(1/2)/b^(1/2))/f^2+2*b^(3/2)*d^2*arctanh((
b*tanh(f*x+e))^(1/2)/b^(1/2))^2/f^3-4*b^(3/2)*d^2*arctanh((b*tanh(f*x+e))^(1/2)/b^(1/2))*ln(2*b^(1/2)/(b^(1/2)
-(b*tanh(f*x+e))^(1/2)))/f^3+4*b^(3/2)*d^2*arctanh((b*tanh(f*x+e))^(1/2)/b^(1/2))*ln(2*b^(1/2)/(b^(1/2)+(b*tan
h(f*x+e))^(1/2)))/f^3-2*b^(3/2)*d^2*arctanh((b*tanh(f*x+e))^(1/2)/b^(1/2))*ln(2*b^(1/2)*((-b)^(1/2)-(b*tanh(f*
x+e))^(1/2))/((-b)^(1/2)-b^(1/2))/(b^(1/2)+(b*tanh(f*x+e))^(1/2)))/f^3-2*b^(3/2)*d^2*arctanh((b*tanh(f*x+e))^(
1/2)/b^(1/2))*ln(2*b^(1/2)*((-b)^(1/2)+(b*tanh(f*x+e))^(1/2))/((-b)^(1/2)+b^(1/2))/(b^(1/2)+(b*tanh(f*x+e))^(1
/2)))/f^3-4*(-b)^(3/2)*d^2*arctanh((b*tanh(f*x+e))^(1/2)/(-b)^(1/2))*ln(2/(1-(b*tanh(f*x+e))^(1/2)/(-b)^(1/2))
)/f^3+2*(-b)^(3/2)*d^2*arctanh((b*tanh(f*x+e))^(1/2)/(-b)^(1/2))*ln(2*(b^(1/2)-(b*tanh(f*x+e))^(1/2))/((-b)^(1
/2)+b^(1/2))/(1-(b*tanh(f*x+e))^(1/2)/(-b)^(1/2)))/f^3+2*(-b)^(3/2)*d^2*arctanh((b*tanh(f*x+e))^(1/2)/(-b)^(1/
2))*ln(-2*(b^(1/2)+(b*tanh(f*x+e))^(1/2))/((-b)^(1/2)-b^(1/2))/(1-(b*tanh(f*x+e))^(1/2)/(-b)^(1/2)))/f^3+4*(-b
)^(3/2)*d^2*arctanh((b*tanh(f*x+e))^(1/2)/(-b)^(1/2))*ln(2/(1+(b*tanh(f*x+e))^(1/2)/(-b)^(1/2)))/f^3-2*b^(3/2)
*d^2*polylog(2,1-2*b^(1/2)/(b^(1/2)-(b*tanh(f*x+e))^(1/2)))/f^3-2*b^(3/2)*d^2*polylog(2,1-2*b^(1/2)/(b^(1/2)+(
b*tanh(f*x+e))^(1/2)))/f^3+b^(3/2)*d^2*polylog(2,1-2*b^(1/2)*((-b)^(1/2)-(b*tanh(f*x+e))^(1/2))/((-b)^(1/2)-b^
(1/2))/(b^(1/2)+(b*tanh(f*x+e))^(1/2)))/f^3+b^(3/2)*d^2*polylog(2,1-2*b^(1/2)*((-b)^(1/2)+(b*tanh(f*x+e))^(1/2
))/((-b)^(1/2)+b^(1/2))/(b^(1/2)+(b*tanh(f*x+e))^(1/2)))/f^3-2*(-b)^(3/2)*d^2*polylog(2,1-2/(1-(b*tanh(f*x+e))
^(1/2)/(-b)^(1/2)))/f^3+(-b)^(3/2)*d^2*polylog(2,1-2*(b^(1/2)-(b*tanh(f*x+e))^(1/2))/((-b)^(1/2)+b^(1/2))/(1-(
b*tanh(f*x+e))^(1/2)/(-b)^(1/2)))/f^3+(-b)^(3/2)*d^2*polylog(2,1+2*(b^(1/2)+(b*tanh(f*x+e))^(1/2))/((-b)^(1/2)
-b^(1/2))/(1-(b*tanh(f*x+e))^(1/2)/(-b)^(1/2)))/f^3-2*(-b)^(3/2)*d^2*polylog(2,1-2/(1+(b*tanh(f*x+e))^(1/2)/(-
b)^(1/2)))/f^3-2*b*(d*x+c)^2*(b*tanh(f*x+e))^(1/2)/f+b^2*Unintegrable((d*x+c)^2/(b*tanh(f*x+e))^(1/2),x)

Rubi [N/A]

Not integrable

Time = 1.13 (sec) , antiderivative size = 20, normalized size of antiderivative = 1.00, number of steps used = 0, number of rules used = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \[ \int (c+d x)^2 (b \tanh (e+f x))^{3/2} \, dx=\int (c+d x)^2 (b \tanh (e+f x))^{3/2} \, dx \]

[In]

Int[(c + d*x)^2*(b*Tanh[e + f*x])^(3/2),x]

[Out]

(4*(-b)^(3/2)*d*(c + d*x)*ArcTanh[Sqrt[b*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1 - 2/(1 + Sqrt[b*Tanh[e + f*x]]/Sqrt[-b])])/f^3 - (2*b*(c + d*x)^2*Sqrt[b*Tanh[e + f*x]
])/f + b^2*Defer[Int][(c + d*x)^2/Sqrt[b*Tanh[e + f*x]], x]

Rubi steps \begin{align*} \text {integral}& = -\frac {2 b (c+d x)^2 \sqrt {b \tanh (e+f x)}}{f}+b^2 \int \frac {(c+d x)^2}{\sqrt {b \tanh (e+f x)}} \, dx+\frac {(4 b d) \int (c+d x) \sqrt {b \tanh (e+f x)} \, dx}{f} \\ & = \frac {4 (-b)^{3/2} d (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}{f^2}+\frac {4 b^{3/2} d (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right )}{f^2}-\frac {2 b (c+d x)^2 \sqrt {b \tanh (e+f x)}}{f}+b^2 \int \frac {(c+d x)^2}{\sqrt {b \tanh (e+f x)}} \, dx-\frac {\left (4 (-b)^{3/2} d^2\right ) \int \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right ) \, dx}{f^2}-\frac {\left (4 b^{3/2} d^2\right ) \int \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right ) \, dx}{f^2} \\ & = \frac {4 (-b)^{3/2} d (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}{f^2}+\frac {4 b^{3/2} d (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right )}{f^2}-\frac {2 b (c+d x)^2 \sqrt {b \tanh (e+f x)}}{f}+b^2 \int \frac {(c+d x)^2}{\sqrt {b \tanh (e+f x)}} \, dx-\frac {\left (4 (-b)^{3/2} d^2\right ) \text {Subst}\left (\int \frac {\text {arctanh}\left (\frac {b \sqrt {b x}}{(-b)^{3/2}}\right )}{-1+x^2} \, dx,x,\tanh (e+f x)\right )}{f^3}-\frac {\left (4 b^{3/2} d^2\right ) \text {Subst}\left (\int \frac {\text {arctanh}\left (\frac {\sqrt {b x}}{\sqrt {b}}\right )}{1-x^2} \, dx,x,\tanh (e+f x)\right )}{f^3} \\ & = \frac {4 (-b)^{3/2} d (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}{f^2}+\frac {4 b^{3/2} d (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right )}{f^2}-\frac {2 b (c+d x)^2 \sqrt {b \tanh (e+f x)}}{f}+b^2 \int \frac {(c+d x)^2}{\sqrt {b \tanh (e+f x)}} \, dx+\frac {\left (8 \sqrt {-b} d^2\right ) \text {Subst}\left (\int \frac {x \text {arctanh}\left (\frac {b x}{(-b)^{3/2}}\right )}{-1+\frac {x^4}{b^2}} \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{f^3}-\frac {\left (8 \sqrt {b} d^2\right ) \text {Subst}\left (\int \frac {x \text {arctanh}\left (\frac {x}{\sqrt {b}}\right )}{1-\frac {x^4}{b^2}} \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{f^3} \\ & = \frac {4 (-b)^{3/2} d (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}{f^2}+\frac {4 b^{3/2} d (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right )}{f^2}-\frac {2 b (c+d x)^2 \sqrt {b \tanh (e+f x)}}{f}+b^2 \int \frac {(c+d x)^2}{\sqrt {b \tanh (e+f x)}} \, dx+\frac {\left (8 \sqrt {-b} d^2\right ) \text {Subst}\left (\int \left (-\frac {b x \text {arctanh}\left (\frac {b x}{(-b)^{3/2}}\right )}{2 \left (b-x^2\right )}-\frac {b x \text {arctanh}\left (\frac {b x}{(-b)^{3/2}}\right )}{2 \left (b+x^2\right )}\right ) \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{f^3}-\frac {\left (8 \sqrt {b} d^2\right ) \text {Subst}\left (\int \left (\frac {b x \text {arctanh}\left (\frac {x}{\sqrt {b}}\right )}{2 \left (b-x^2\right )}+\frac {b x \text {arctanh}\left (\frac {x}{\sqrt {b}}\right )}{2 \left (b+x^2\right )}\right ) \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{f^3} \\ & = \frac {4 (-b)^{3/2} d (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}{f^2}+\frac {4 b^{3/2} d (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right )}{f^2}-\frac {2 b (c+d x)^2 \sqrt {b \tanh (e+f x)}}{f}+b^2 \int \frac {(c+d x)^2}{\sqrt {b \tanh (e+f x)}} \, dx+\frac {\left (4 (-b)^{3/2} d^2\right ) \text {Subst}\left (\int \frac {x \text {arctanh}\left (\frac {b x}{(-b)^{3/2}}\right )}{b-x^2} \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{f^3}+\frac {\left (4 (-b)^{3/2} d^2\right ) \text {Subst}\left (\int \frac {x \text {arctanh}\left (\frac {b x}{(-b)^{3/2}}\right )}{b+x^2} \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{f^3}-\frac {\left (4 b^{3/2} d^2\right ) \text {Subst}\left (\int \frac {x \text {arctanh}\left (\frac {x}{\sqrt {b}}\right )}{b-x^2} \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{f^3}-\frac {\left (4 b^{3/2} d^2\right ) \text {Subst}\left (\int \frac {x \text {arctanh}\left (\frac {x}{\sqrt {b}}\right )}{b+x^2} \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{f^3} \\ & = \frac {4 (-b)^{3/2} d (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}{f^2}+\frac {2 (-b)^{3/2} d^2 \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )^2}{f^3}+\frac {4 b^{3/2} d (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right )}{f^2}+\frac {2 b^{3/2} d^2 \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right )^2}{f^3}-\frac {2 b (c+d x)^2 \sqrt {b \tanh (e+f x)}}{f}+b^2 \int \frac {(c+d x)^2}{\sqrt {b \tanh (e+f x)}} \, dx+\frac {\left (4 (-b)^{3/2} d^2\right ) \text {Subst}\left (\int \left (\frac {\text {arctanh}\left (\frac {b x}{(-b)^{3/2}}\right )}{2 \left (\sqrt {b}-x\right )}-\frac {\text {arctanh}\left (\frac {b x}{(-b)^{3/2}}\right )}{2 \left (\sqrt {b}+x\right )}\right ) \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{f^3}-\frac {\left (4 b d^2\right ) \text {Subst}\left (\int \frac {\text {arctanh}\left (\frac {x}{\sqrt {b}}\right )}{1-\frac {x}{\sqrt {b}}} \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{f^3}-\frac {\left (4 b d^2\right ) \text {Subst}\left (\int \frac {\text {arctanh}\left (\frac {b x}{(-b)^{3/2}}\right )}{1-\frac {b x}{(-b)^{3/2}}} \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{f^3}-\frac {\left (4 b^{3/2} d^2\right ) \text {Subst}\left (\int \left (-\frac {\text {arctanh}\left (\frac {x}{\sqrt {b}}\right )}{2 \left (\sqrt {-b}-x\right )}+\frac {\text {arctanh}\left (\frac {x}{\sqrt {b}}\right )}{2 \left (\sqrt {-b}+x\right )}\right ) \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{f^3} \\ & = \frac {4 (-b)^{3/2} d (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}{f^2}+\frac {2 (-b)^{3/2} d^2 \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )^2}{f^3}+\frac {4 b^{3/2} d (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right )}{f^2}+\frac {2 b^{3/2} d^2 \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right )^2}{f^3}-\frac {4 b^{3/2} d^2 \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right ) \log \left (\frac {2 \sqrt {b}}{\sqrt {b}-\sqrt {b \tanh (e+f x)}}\right )}{f^3}+\frac {4 (-b)^{3/2} d^2 \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right ) \log \left (\frac {2}{1+\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}}\right )}{f^3}-\frac {2 b (c+d x)^2 \sqrt {b \tanh (e+f x)}}{f}+b^2 \int \frac {(c+d x)^2}{\sqrt {b \tanh (e+f x)}} \, dx+\frac {\left (2 (-b)^{3/2} d^2\right ) \text {Subst}\left (\int \frac {\text {arctanh}\left (\frac {b x}{(-b)^{3/2}}\right )}{\sqrt {b}-x} \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{f^3}-\frac {\left (2 (-b)^{3/2} d^2\right ) \text {Subst}\left (\int \frac {\text {arctanh}\left (\frac {b x}{(-b)^{3/2}}\right )}{\sqrt {b}+x} \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{f^3}+\frac {\left (4 b d^2\right ) \text {Subst}\left (\int \frac {\log \left (\frac {2}{1-\frac {x}{\sqrt {b}}}\right )}{1-\frac {x^2}{b}} \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{f^3}+\frac {\left (4 b d^2\right ) \text {Subst}\left (\int \frac {\log \left (\frac {2}{1-\frac {b x}{(-b)^{3/2}}}\right )}{1+\frac {x^2}{b}} \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{f^3}+\frac {\left (2 b^{3/2} d^2\right ) \text {Subst}\left (\int \frac {\text {arctanh}\left (\frac {x}{\sqrt {b}}\right )}{\sqrt {-b}-x} \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{f^3}-\frac {\left (2 b^{3/2} d^2\right ) \text {Subst}\left (\int \frac {\text {arctanh}\left (\frac {x}{\sqrt {b}}\right )}{\sqrt {-b}+x} \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{f^3} \\ & = \text {Too large to display} \\ \end{align*}

Mathematica [N/A]

Not integrable

Time = 29.38 (sec) , antiderivative size = 22, normalized size of antiderivative = 1.10 \[ \int (c+d x)^2 (b \tanh (e+f x))^{3/2} \, dx=\int (c+d x)^2 (b \tanh (e+f x))^{3/2} \, dx \]

[In]

Integrate[(c + d*x)^2*(b*Tanh[e + f*x])^(3/2),x]

[Out]

Integrate[(c + d*x)^2*(b*Tanh[e + f*x])^(3/2), x]

Maple [N/A] (verified)

Not integrable

Time = 0.07 (sec) , antiderivative size = 18, normalized size of antiderivative = 0.90

\[\int \left (d x +c \right )^{2} \left (b \tanh \left (f x +e \right )\right )^{\frac {3}{2}}d x\]

[In]

int((d*x+c)^2*(b*tanh(f*x+e))^(3/2),x)

[Out]

int((d*x+c)^2*(b*tanh(f*x+e))^(3/2),x)

Fricas [F(-2)]

Exception generated. \[ \int (c+d x)^2 (b \tanh (e+f x))^{3/2} \, dx=\text {Exception raised: TypeError} \]

[In]

integrate((d*x+c)^2*(b*tanh(f*x+e))^(3/2),x, algorithm="fricas")

[Out]

Exception raised: TypeError >>  Error detected within library code:   integrate: implementation incomplete (co
nstant residues)

Sympy [N/A]

Not integrable

Time = 3.00 (sec) , antiderivative size = 19, normalized size of antiderivative = 0.95 \[ \int (c+d x)^2 (b \tanh (e+f x))^{3/2} \, dx=\int \left (b \tanh {\left (e + f x \right )}\right )^{\frac {3}{2}} \left (c + d x\right )^{2}\, dx \]

[In]

integrate((d*x+c)**2*(b*tanh(f*x+e))**(3/2),x)

[Out]

Integral((b*tanh(e + f*x))**(3/2)*(c + d*x)**2, x)

Maxima [N/A]

Not integrable

Time = 0.55 (sec) , antiderivative size = 20, normalized size of antiderivative = 1.00 \[ \int (c+d x)^2 (b \tanh (e+f x))^{3/2} \, dx=\int { {\left (d x + c\right )}^{2} \left (b \tanh \left (f x + e\right )\right )^{\frac {3}{2}} \,d x } \]

[In]

integrate((d*x+c)^2*(b*tanh(f*x+e))^(3/2),x, algorithm="maxima")

[Out]

integrate((d*x + c)^2*(b*tanh(f*x + e))^(3/2), x)

Giac [N/A]

Not integrable

Time = 0.44 (sec) , antiderivative size = 20, normalized size of antiderivative = 1.00 \[ \int (c+d x)^2 (b \tanh (e+f x))^{3/2} \, dx=\int { {\left (d x + c\right )}^{2} \left (b \tanh \left (f x + e\right )\right )^{\frac {3}{2}} \,d x } \]

[In]

integrate((d*x+c)^2*(b*tanh(f*x+e))^(3/2),x, algorithm="giac")

[Out]

integrate((d*x + c)^2*(b*tanh(f*x + e))^(3/2), x)

Mupad [N/A]

Not integrable

Time = 2.06 (sec) , antiderivative size = 20, normalized size of antiderivative = 1.00 \[ \int (c+d x)^2 (b \tanh (e+f x))^{3/2} \, dx=\int {\left (b\,\mathrm {tanh}\left (e+f\,x\right )\right )}^{3/2}\,{\left (c+d\,x\right )}^2 \,d x \]

[In]

int((b*tanh(e + f*x))^(3/2)*(c + d*x)^2,x)

[Out]

int((b*tanh(e + f*x))^(3/2)*(c + d*x)^2, x)